package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Menu;

import java.util.List;

/**
 * @Author: liangWeiQUQ
 * @Description: TODO
 * @DateTime: 2021/3/11 9:16
 **/
public interface MenuService {
    /**
     * @Author: 传闻中的梁大侠
     * @Date: 9:19 2021/3/11
     * @Parms [username]
     * @ReturnType: com.itheima.health.entity.Result
     * @Description: 动态菜单-->根据用户名获取菜单权限集合
     */
    List<Menu> getMenuList(String username);

	List<Menu> findAllMenu();
    PageResult findByPage(QueryPageBean queryPageBean);

    Menu findById(Integer Id);

    void add(Menu menu);

    void deleteById(Integer id);

    void edit(Menu menu);

    List<Menu> findAll();

    Menu findcheckitemIdsById(Integer id);
}
